<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			var obj = new Object();
			obj.name='zhaozhijie'
			obj.age = 18
			
			function changePerson(obj)
			{
				obj.name=obj.name+'王'
				obj.age = obj.age+2;
			}
			
			alert(obj.name+' '+obj.age)
			changePerson(obj);
			alert(obj.name+' '+obj.age)
				
			
		</script>
	</head>
	<body>
	</body>
</html>
